package xiao.ke.activemq.jms;/**
 * @author XuXiaoK
 * @create 2019-11-27 13:46
 */

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

/**
 * @Author XiaoKe
 * @Date 2019/11/27 13:46
 * @Description TODO
 */
@Component
public class CommonConsumer {

    //@JmsListener(destination = "common.queue")
    public void receiveQueuec(String text) {
        System.out.println("信息" + text);
    }
}
